<template>
  <div class="info">
    <van-nav-bar title="内容" left-text="返回" left-arrow @click-left="onClickLeft" />
    <div class="title">{{title}}</div>
    <div class="content"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      title: ""
    };
  },
  created() {
    this.title = this.$route.query.title
  },
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    }
  }
};
</script>

<style scoped>
.info {
  width: 100vw;
  height: 100vh;
  background: #ffffff;
}

.title {
  font-size: 36px;
  font-weight: bold;
  margin: 60px 40px 0;
}

.content {
  padding: 40px;
}
</style>
